package com.rockcent.mall.lib.repository;

import com.rockcent.mall.lib.domain.TopicProduct;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Component;

/**
 *
 * Created by zhangjh on 2016/11/17.
 */
@Component
public interface TopicProductRepository extends JpaRepository<TopicProduct, Long>, JpaSpecificationExecutor, TopicProductRepositoryCustom {


    void deleteByTopicId(Long id);
}
